// 公共接口亲求
import {
    axiosPostJson,
    axiosPostJson_select,
    axiosGetJson_select,
    axiosGetJson,
    axiosGetFrom
} from "@/utils/service";
import qs from "qs";

// 机构所在得城市
export function get_areaIdoptions(data) {
    return axiosPostJson_select("/config-server/area/queryDeploy", data);
}

// 所属机构
export function get_branchIdoptions(data) {
    return axiosPostJson_select("/config-server/branch/query", data);
}

// 项目分类
export function get_categoryIdoptions(data) {
    return axiosPostJson_select("/config-server/item/category/query", data);
}

// 项目
export function get_itemIdoptions(data) {
    return axiosPostJson_select("/config-server/branch/item/query", data);
}

// 添加-获取所有角色
export function selectALL_roleAddObj(data) {
    return axiosGetJson_select("/admin-server/sys/role/findAll", data);
}